package com.feicheng.common.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = {"classpath:message.properties"}, encoding = "UTF-8")
@Component
@ConfigurationProperties(prefix = "login")
@Data
@EqualsAndHashCode(callSuper = false)
public class LoginMessage implements Message {

    @Value("${login.E01}")
    private String E01;

    @Value("${login.E02}")
    private String E02;

    @Value("${login.E03}")
    private String E03;

    @Value("${login.E04}")
    private String E04;

    @Value("${login.E05}")
    private String E05;

    @Value("${login.E06}")
    private String E06;

    @Value("${login.E07}")
    private String E07;


}
